.class public Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;
.super Landroid/view/View;
.source "AnalysisLoadingView.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;
    }
.end annotation


# instance fields
.field private a:Landroid/graphics/Paint;

.field private b:Landroid/text/TextPaint;

.field private c:Landroid/graphics/Paint;

.field private d:Landroid/graphics/Paint;

.field private e:Landroid/graphics/Point;

.field private f:I

.field private g:I

.field private h:Ljava/lang/String;

.field private i:J

.field private j:Ljava/lang/String;

.field private k:Landroid/animation/AnimatorSet;

.field private l:F

.field private m:Landroid/animation/ObjectAnimator;

.field private n:Z

.field private o:Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;

.field private p:Landroid/graphics/PorterDuffXfermode;

.field private q:Landroid/graphics/BitmapShader;

.field private r:Landroid/graphics/Matrix;

.field private s:Landroid/graphics/Bitmap;

.field private t:Landroid/graphics/Bitmap;

.field private u:Landroid/graphics/Bitmap;

.field private v:Landroid/graphics/Bitmap;

.field private w:Landroid/graphics/Bitmap;


# direct methods
.method public constructor <init>(Landroid/content/Context;)V
    .locals 2

    .line 1
    invoke-direct {p0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V

    const p1, 0x7f0700ce

    .line 2
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->f:I

    const p1, 0x7f0700be

    .line 3
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->g:I

    const-string p1, "#ffffff"

    .line 4
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->h:Ljava/lang/String;

    const-wide/16 v0, 0xbb8

    .line 5
    iput-wide v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->i:J

    const/4 p1, 0x0

    .line 6
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    .line 7
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->c()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
    .locals 0

    .line 22
    invoke-direct {p0, p1, p2}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V

    const p1, 0x7f0700ce

    .line 23
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->f:I

    const p1, 0x7f0700be

    .line 24
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->g:I

    const-string p1, "#ffffff"

    .line 25
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->h:Ljava/lang/String;

    const-wide/16 p1, 0xbb8

    .line 26
    iput-wide p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->i:J

    const/4 p1, 0x0

    .line 27
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    .line 28
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->c()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
    .locals 0

    .line 15
    invoke-direct {p0, p1, p2, p3}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V

    const p1, 0x7f0700ce

    .line 16
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->f:I

    const p1, 0x7f0700be

    .line 17
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->g:I

    const-string p1, "#ffffff"

    .line 18
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->h:Ljava/lang/String;

    const-wide/16 p1, 0xbb8

    .line 19
    iput-wide p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->i:J

    const/4 p1, 0x0

    .line 20
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    .line 21
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->c()V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V
    .locals 0

    .line 8
    invoke-direct {p0, p1, p2, p3, p4}, Landroid/view/View;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;II)V

    const p1, 0x7f0700ce

    .line 9
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->f:I

    const p1, 0x7f0700be

    .line 10
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->g:I

    const-string p1, "#ffffff"

    .line 11
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->h:Ljava/lang/String;

    const-wide/16 p1, 0xbb8

    .line 12
    iput-wide p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->i:J

    const/4 p1, 0x0

    .line 13
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    .line 14
    invoke-direct {p0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->c()V

    return-void
.end method

.method private a(I)I
    .locals 1

    .line 10
    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/Context;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0, p1}, Landroid/content/res/Resources;->getDimensionPixelSize(I)I

    move-result p1

    return p1
.end method

.method private a(Landroid/graphics/Canvas;)V
    .locals 8

    .line 11
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v0

    int-to-float v4, v0

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v0

    int-to-float v5, v0

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v6, 0x0

    const/16 v7, 0x1f

    move-object v1, p1

    invoke-virtual/range {v1 .. v7}, Landroid/graphics/Canvas;->saveLayer(FFFFLandroid/graphics/Paint;I)I

    move-result v0

    .line 12
    new-instance v1, Landroid/graphics/Rect;

    invoke-direct {v1}, Landroid/graphics/Rect;-><init>()V

    const/4 v2, 0x0

    .line 13
    iput v2, v1, Landroid/graphics/Rect;->left:I

    .line 14
    iput v2, v1, Landroid/graphics/Rect;->top:I

    .line 15
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v2

    iput v2, v1, Landroid/graphics/Rect;->right:I

    .line 16
    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v2

    iput v2, v1, Landroid/graphics/Rect;->bottom:I

    .line 17
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->b(Landroid/graphics/Canvas;)V

    .line 18
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->r:Landroid/graphics/Matrix;

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v2

    int-to-float v2, v2

    iget v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    mul-float v2, v2, v3

    const/4 v3, 0x0

    invoke-virtual {v1, v3, v2}, Landroid/graphics/Matrix;->setTranslate(FF)V

    .line 19
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->q:Landroid/graphics/BitmapShader;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->r:Landroid/graphics/Matrix;

    invoke-virtual {v1, v2}, Landroid/graphics/BitmapShader;->setLocalMatrix(Landroid/graphics/Matrix;)V

    .line 20
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->d:Landroid/graphics/Paint;

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->q:Landroid/graphics/BitmapShader;

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    .line 21
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v2, v1, Landroid/graphics/Point;->x:I

    int-to-float v2, v2

    iget v1, v1, Landroid/graphics/Point;->y:I

    int-to-float v1, v1

    invoke-virtual {p0}, Landroid/view/View;->getContext()Landroid/content/Context;

    move-result-object v3

    const/high16 v4, 0x42960000    # 75.0f

    invoke-static {v3, v4}, Les/fy;->a(Landroid/content/Context;F)I

    move-result v3

    int-to-float v3, v3

    iget-object v4, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->d:Landroid/graphics/Paint;

    invoke-virtual {p1, v2, v1, v3, v4}, Landroid/graphics/Canvas;->drawCircle(FFFLandroid/graphics/Paint;)V

    .line 22
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->d:Landroid/graphics/Paint;

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;

    .line 23
    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->restoreToCount(I)V

    return-void
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->n:Z

    return p0
.end method

.method static synthetic a(Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->n:Z

    return p1
.end method

.method static synthetic b(Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->i:J

    return-wide v0
.end method

.method private b(Landroid/graphics/Canvas;)V
    .locals 3

    .line 8
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    .line 9
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->x:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->v:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->left:I

    .line 10
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->v:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->top:I

    .line 11
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->x:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->v:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->right:I

    .line 12
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->v:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->bottom:I

    .line 13
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->v:Landroid/graphics/Bitmap;

    const/4 v2, 0x0

    invoke-virtual {p1, v1, v2, v0, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    return-void
.end method

.method private c()V
    .locals 5

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v1, 0x0

    const/4 v2, 0x1

    const/16 v3, 0xb

    if-le v0, v3, :cond_0

    .line 2
    invoke-virtual {p0, v2, v1}, Landroid/view/View;->setLayerType(ILandroid/graphics/Paint;)V

    .line 3
    :cond_0
    new-instance v0, Landroid/graphics/PorterDuffXfermode;

    sget-object v3, Landroid/graphics/PorterDuff$Mode;->SRC_OUT:Landroid/graphics/PorterDuff$Mode;

    invoke-direct {v0, v3}, Landroid/graphics/PorterDuffXfermode;-><init>(Landroid/graphics/PorterDuff$Mode;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->p:Landroid/graphics/PorterDuffXfermode;

    .line 4
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f08009b

    invoke-static {v0, v3}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->s:Landroid/graphics/Bitmap;

    .line 5
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f08009a

    invoke-static {v0, v3}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->t:Landroid/graphics/Bitmap;

    .line 6
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f080099

    invoke-static {v0, v3}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->u:Landroid/graphics/Bitmap;

    .line 7
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f080098

    invoke-static {v0, v3}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->v:Landroid/graphics/Bitmap;

    .line 8
    invoke-virtual {p0}, Landroid/view/View;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    const v3, 0x7f080092

    invoke-static {v0, v3}, Landroid/graphics/BitmapFactory;->decodeResource(Landroid/content/res/Resources;I)Landroid/graphics/Bitmap;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->w:Landroid/graphics/Bitmap;

    .line 9
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v2}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a:Landroid/graphics/Paint;

    .line 10
    sget-object v3, Landroid/graphics/Paint$Style;->STROKE:Landroid/graphics/Paint$Style;

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setStyle(Landroid/graphics/Paint$Style;)V

    .line 11
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a:Landroid/graphics/Paint;

    const/4 v3, 0x0

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setStrokeWidth(F)V

    .line 12
    new-instance v0, Landroid/text/TextPaint;

    invoke-direct {v0, v2}, Landroid/text/TextPaint;-><init>(I)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->b:Landroid/text/TextPaint;

    .line 13
    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->h:Ljava/lang/String;

    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/text/TextPaint;->setColor(I)V

    .line 14
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->b:Landroid/text/TextPaint;

    iget v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->g:I

    invoke-direct {p0, v3}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a(I)I

    move-result v3

    int-to-float v3, v3

    invoke-virtual {v0, v3}, Landroid/text/TextPaint;->setTextSize(F)V

    .line 15
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v2}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->c:Landroid/graphics/Paint;

    const-string v3, "#dedfe0"

    .line 16
    invoke-static {v3}, Landroid/graphics/Color;->parseColor(Ljava/lang/String;)I

    move-result v3

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setColor(I)V

    .line 17
    new-instance v0, Landroid/graphics/Paint;

    invoke-direct {v0, v2}, Landroid/graphics/Paint;-><init>(I)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->d:Landroid/graphics/Paint;

    .line 18
    new-instance v0, Landroid/graphics/BitmapShader;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->w:Landroid/graphics/Bitmap;

    sget-object v4, Landroid/graphics/Shader$TileMode;->REPEAT:Landroid/graphics/Shader$TileMode;

    invoke-direct {v0, v3, v4, v4}, Landroid/graphics/BitmapShader;-><init>(Landroid/graphics/Bitmap;Landroid/graphics/Shader$TileMode;Landroid/graphics/Shader$TileMode;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->q:Landroid/graphics/BitmapShader;

    .line 19
    new-instance v0, Landroid/graphics/Matrix;

    invoke-direct {v0}, Landroid/graphics/Matrix;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->r:Landroid/graphics/Matrix;

    .line 20
    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->q:Landroid/graphics/BitmapShader;

    invoke-virtual {v3, v0}, Landroid/graphics/BitmapShader;->setLocalMatrix(Landroid/graphics/Matrix;)V

    .line 21
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->d:Landroid/graphics/Paint;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->q:Landroid/graphics/BitmapShader;

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setShader(Landroid/graphics/Shader;)Landroid/graphics/Shader;

    const/4 v0, 0x2

    new-array v0, v0, [F

    .line 22
    fill-array-data v0, :array_0

    const-string v3, "animateScan"

    invoke-static {p0, v3, v0}, Landroid/animation/ObjectAnimator;->ofFloat(Ljava/lang/Object;Ljava/lang/String;[F)Landroid/animation/ObjectAnimator;

    move-result-object v0

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->m:Landroid/animation/ObjectAnimator;

    const/4 v3, -0x1

    .line 23
    invoke-virtual {v0, v3}, Landroid/animation/ObjectAnimator;->setRepeatCount(I)V

    .line 24
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->m:Landroid/animation/ObjectAnimator;

    invoke-virtual {v0, v2}, Landroid/animation/ObjectAnimator;->setRepeatMode(I)V

    .line 25
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->m:Landroid/animation/ObjectAnimator;

    new-instance v3, Landroid/view/animation/LinearInterpolator;

    invoke-direct {v3}, Landroid/view/animation/LinearInterpolator;-><init>()V

    invoke-virtual {v0, v3}, Landroid/animation/ObjectAnimator;->setInterpolator(Landroid/animation/TimeInterpolator;)V

    .line 26
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->m:Landroid/animation/ObjectAnimator;

    iget-wide v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->i:J

    invoke-virtual {v0, v3, v4}, Landroid/animation/ObjectAnimator;->setDuration(J)Landroid/animation/ObjectAnimator;

    .line 27
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->m:Landroid/animation/ObjectAnimator;

    new-instance v3, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$a;

    invoke-direct {v3, p0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$a;-><init>(Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;)V

    invoke-virtual {v0, v3}, Landroid/animation/ObjectAnimator;->addListener(Landroid/animation/Animator$AnimatorListener;)V

    .line 28
    new-instance v0, Landroid/animation/AnimatorSet;

    invoke-direct {v0}, Landroid/animation/AnimatorSet;-><init>()V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->k:Landroid/animation/AnimatorSet;

    new-array v2, v2, [Landroid/animation/Animator;

    const/4 v3, 0x0

    .line 29
    iget-object v4, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->m:Landroid/animation/ObjectAnimator;

    aput-object v4, v2, v3

    invoke-virtual {v0, v2}, Landroid/animation/AnimatorSet;->playTogether([Landroid/animation/Animator;)V

    .line 30
    new-instance v0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;

    invoke-direct {v0, p0, v1}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;-><init>(Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$a;)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->o:Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;

    return-void

    nop

    :array_0
    .array-data 4
        0x0
        0x3f800000    # 1.0f
    .end array-data
.end method

.method private c(Landroid/graphics/Canvas;)V
    .locals 11

    .line 31
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    .line 32
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->x:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->s:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->left:I

    .line 33
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->s:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    sub-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->top:I

    .line 34
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->x:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->s:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->right:I

    .line 35
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v1, v1, Landroid/graphics/Point;->y:I

    iget-object v2, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->s:Landroid/graphics/Bitmap;

    invoke-virtual {v2}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v2

    div-int/lit8 v2, v2, 0x2

    add-int/2addr v1, v2

    iput v1, v0, Landroid/graphics/Rect;->bottom:I

    .line 36
    iget-boolean v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->n:Z

    const/4 v2, 0x0

    if-eqz v1, :cond_0

    .line 37
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->t:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v1, v2, v0, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    goto :goto_0

    .line 38
    :cond_0
    iget-object v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->s:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v1, v2, v0, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    .line 39
    :goto_0
    invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I

    .line 40
    new-instance v1, Landroid/graphics/Path;

    invoke-direct {v1}, Landroid/graphics/Path;-><init>()V

    .line 41
    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v4, v3, Landroid/graphics/Point;->x:I

    int-to-float v4, v4

    iget v3, v3, Landroid/graphics/Point;->y:I

    int-to-float v3, v3

    const v5, 0x7f070104

    invoke-direct {p0, v5}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a(I)I

    move-result v5

    int-to-float v5, v5

    sget-object v6, Landroid/graphics/Path$Direction;->CCW:Landroid/graphics/Path$Direction;

    invoke-virtual {v1, v4, v3, v5, v6}, Landroid/graphics/Path;->addCircle(FFFLandroid/graphics/Path$Direction;)V

    .line 42
    sget-object v3, Landroid/graphics/Region$Op;->REPLACE:Landroid/graphics/Region$Op;

    invoke-virtual {p1, v1, v3}, Landroid/graphics/Canvas;->clipPath(Landroid/graphics/Path;Landroid/graphics/Region$Op;)Z

    const/4 v5, 0x0

    const/4 v6, 0x0

    .line 43
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v1

    int-to-float v7, v1

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v1

    int-to-float v8, v1

    const/4 v9, 0x0

    const/16 v10, 0x1f

    move-object v4, p1

    invoke-virtual/range {v4 .. v10}, Landroid/graphics/Canvas;->saveLayer(FFFFLandroid/graphics/Paint;I)I

    move-result v1

    .line 44
    iget-boolean v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->n:Z

    if-eqz v3, :cond_1

    .line 45
    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->s:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v3, v2, v0, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    goto :goto_1

    .line 46
    :cond_1
    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->t:Landroid/graphics/Bitmap;

    invoke-virtual {p1, v3, v2, v0, v2}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    .line 47
    :goto_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a:Landroid/graphics/Paint;

    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->p:Landroid/graphics/PorterDuffXfermode;

    invoke-virtual {v0, v3}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;

    .line 48
    new-instance v0, Landroid/graphics/Rect;

    invoke-direct {v0}, Landroid/graphics/Rect;-><init>()V

    .line 49
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v3

    int-to-float v3, v3

    const/high16 v4, 0x3f800000    # 1.0f

    iget v5, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    sub-float/2addr v4, v5

    mul-float v3, v3, v4

    invoke-static {v3}, Ljava/lang/Math;->round(F)I

    move-result v3

    neg-int v3, v3

    iput v3, v0, Landroid/graphics/Rect;->left:I

    const/4 v4, 0x0

    .line 50
    iput v4, v0, Landroid/graphics/Rect;->top:I

    .line 51
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v4

    add-int/2addr v3, v4

    iput v3, v0, Landroid/graphics/Rect;->right:I

    .line 52
    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v3

    iput v3, v0, Landroid/graphics/Rect;->bottom:I

    .line 53
    iget-boolean v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->n:Z

    if-eqz v3, :cond_2

    const/high16 v3, 0x43340000    # 180.0f

    .line 54
    iget-object v4, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    iget v5, v4, Landroid/graphics/Point;->x:I

    int-to-float v5, v5

    iget v4, v4, Landroid/graphics/Point;->y:I

    int-to-float v4, v4

    invoke-virtual {p1, v3, v5, v4}, Landroid/graphics/Canvas;->rotate(FFF)V

    .line 55
    :cond_2
    iget-object v3, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->u:Landroid/graphics/Bitmap;

    iget-object v4, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a:Landroid/graphics/Paint;

    invoke-virtual {p1, v3, v2, v0, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;Landroid/graphics/Rect;Landroid/graphics/Rect;Landroid/graphics/Paint;)V

    .line 56
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a:Landroid/graphics/Paint;

    invoke-virtual {v0, v2}, Landroid/graphics/Paint;->setXfermode(Landroid/graphics/Xfermode;)Landroid/graphics/Xfermode;

    .line 57
    invoke-virtual {p1, v1}, Landroid/graphics/Canvas;->restoreToCount(I)V

    .line 58
    invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V

    return-void
.end method


# virtual methods
.method public a()V
    .locals 3

    .line 3
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/4 v1, 0x0

    const/16 v2, 0xb

    if-ge v0, v2, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->o:Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;->b()Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    .line 5
    :cond_0
    iput v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->o:Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;

    invoke-virtual {p0, v0}, Landroid/view/View;->startAnimation(Landroid/view/animation/Animation;)V

    goto :goto_0

    .line 7
    :cond_1
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->k:Landroid/animation/AnimatorSet;

    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->isRunning()Z

    move-result v0

    if-eqz v0, :cond_2

    return-void

    .line 8
    :cond_2
    iput v1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    .line 9
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->k:Landroid/animation/AnimatorSet;

    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->start()V

    :goto_0
    return-void
.end method

.method public b()V
    .locals 2

    .line 2
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0xb

    if-ge v0, v1, :cond_0

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->o:Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;->b()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->o:Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView$b;

    invoke-virtual {v0}, Landroid/view/animation/Animation;->cancel()V

    goto :goto_0

    .line 5
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->k:Landroid/animation/AnimatorSet;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->isRunning()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 6
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->k:Landroid/animation/AnimatorSet;

    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->end()V

    .line 7
    iget-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->k:Landroid/animation/AnimatorSet;

    invoke-virtual {v0}, Landroid/animation/AnimatorSet;->cancel()V

    :cond_1
    :goto_0
    return-void
.end method

.method public getAnimateScan()F
    .locals 1

    .line 1
    iget v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    return v0
.end method

.method protected onDetachedFromWindow()V
    .locals 0

    .line 1
    invoke-super {p0}, Landroid/view/View;->onDetachedFromWindow()V

    return-void
.end method

.method protected onDraw(Landroid/graphics/Canvas;)V
    .locals 4

    .line 1
    invoke-super {p0, p1}, Landroid/view/View;->onDraw(Landroid/graphics/Canvas;)V

    const/4 v0, 0x0

    .line 2
    invoke-virtual {p1, v0}, Landroid/graphics/Canvas;->drawColor(I)V

    .line 3
    new-instance v0, Landroid/graphics/Point;

    invoke-virtual {p0}, Landroid/view/View;->getWidth()I

    move-result v1

    div-int/lit8 v1, v1, 0x2

    invoke-virtual {p0}, Landroid/view/View;->getHeight()I

    move-result v2

    const v3, 0x7f0700c6

    invoke-direct {p0, v3}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a(I)I

    move-result v3

    add-int/2addr v2, v3

    div-int/lit8 v2, v2, 0x2

    invoke-direct {v0, v1, v2}, Landroid/graphics/Point;-><init>(II)V

    iput-object v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->e:Landroid/graphics/Point;

    .line 4
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a(Landroid/graphics/Canvas;)V

    .line 5
    invoke-direct {p0, p1}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->c(Landroid/graphics/Canvas;)V

    return-void
.end method

.method protected onMeasure(II)V
    .locals 2

    .line 1
    invoke-super {p0, p1, p2}, Landroid/view/View;->onMeasure(II)V

    .line 2
    iget v0, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->f:I

    invoke-direct {p0, v0}, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->a(I)I

    move-result v0

    .line 3
    invoke-static {p1}, Landroid/view/View$MeasureSpec;->getSize(I)I

    move-result p1

    .line 4
    invoke-virtual {p0}, Landroid/view/View;->getSuggestedMinimumHeight()I

    move-result v1

    .line 5
    invoke-static {v0, p2}, Landroid/view/View;->resolveSize(II)I

    move-result p2

    .line 6
    invoke-static {v1, p2}, Ljava/lang/Math;->max(II)I

    move-result p2

    .line 7
    invoke-virtual {p0, p1, p2}, Landroid/view/View;->setMeasuredDimension(II)V

    return-void
.end method

.method public setAnimateScan(F)V
    .locals 0

    .line 1
    iput p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->l:F

    .line 2
    invoke-virtual {p0}, Landroid/view/View;->postInvalidate()V

    return-void
.end method

.method public setTitle(Ljava/lang/String;)V
    .locals 0

    .line 1
    iput-object p1, p0, Lcom/estrongs/android/pop/app/analysis/view/AnalysisLoadingView;->j:Ljava/lang/String;

    return-void
.end method
